const {
    unDefined,
    nullValue,
    emailver,
    passwordver,
  } = require("@/utils/valiData");
  const result = require("@/utils/handle");

  const SearchTravel = (keywords) => {
    unDefined([keywords]);
  }

  const Clssifytravels = (keywords, page) => {
    unDefined([keywords, page])
    nullValue([
        { value: keywords, tips: '缺少分类查询值keywords' },
        { value: page, tips: '缺少分页page值' }
    ])
  }

  module.exports = {
    SearchTravel,
    Clssifytravels
  }